home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- # postinst creates /var/lib/computer-janitor. Running computer-janitor
- # creates state.dat in that directory. That file is similar to a config
- # file: it should be deleted at purge, but not at normal package
- # removal. We handle that here.
-
- case "$1" in
- purge)
- rm -f /var/lib/computer-janitor/state.dat
- rmdir /var/lib/computer-janitor
- ;;
- esac
-
-
-
-